package com.jusda.api.controller;

import com.jusda.api.task.TaskManager;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.web.bind.annotation.GetMapping;
import org.springframework.web.bind.annotation.RequestMapping;
import org.springframework.web.bind.annotation.RestController;

/**
 * @author:y022 23/04/2022 15:09
 * @description:
 */
@RestController
@RequestMapping("task")
public class TaskApi {
    @Autowired
    private TaskManager taskManager;

    @GetMapping("batchSendMsg")
    public void batchSendMsg() {
        taskManager.pushUserScoreTask();
    }
}
